<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8"/>
		<title>Trang quản trị</title>
		<link rel="stylesheet" href="<?php echo base_url() ?>static/css/layout.css" type="text/css" media="screen" />
		<link rel="icon" type="image/png" href="<?php echo base_url() ?>static/images/icon/favicon.png" />
		<script type="text/javascript" src="<?php echo base_url() ?>static/js/jquery-1.11.1.js"></script>
                <script type="text/javascript" src="<?php echo base_url() ?>static/js/jquery.form.js"></script>
		<script src="<?php echo base_url() ?>static/js/hideshow.js" type="text/javascript"></script>
		<script src="<?php echo base_url() ?>static/js/jquery.tablesorter.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>static/js/jquery.equalHeight.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>ckeditor/ckeditor.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>static/js/BE_javascript.js"></script>
		<script type="text/javascript">
			$(document).ready(function() 
		    	{ 
		      	  $(".tablesorter").tablesorter(); 
		   	 } 
			);
			$(document).ready(function() {

			//When page loads...
			$(".tab_content").hide(); //Hide all content
			$("ul.tabs li:first").addClass("active").show(); //Activate first tab
			$(".tab_content:first").show(); //Show first tab content

			//On Click Event
			$("ul.tabs li").click(function() {

				$("ul.tabs li").removeClass("active"); //Remove any "active" class
				$(this).addClass("active"); //Add "active" class to selected tab
				$(".tab_content").hide(); //Hide all tab content

				var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
				$(activeTab).fadeIn(); //Fade in the active ID content
				return false;
			});

		});
	    </script>
	</head>
	<body>
		<header id="header">
			<hgroup>
				<h1 class="site_title"><a href="/st_admin">Lamsaopro.com</a></h1>
				<h2 class="section_title"></h2><div class="btn_view_site"><a href="/st_logout">Thoát</a></div>
			</hgroup>
		</header> <!-- end of header bar -->
		
		<aside id="sidebar" class="column">
			<h3>Chức năng chính</h3>
			<ul class="toggle">
				<li class="icn_edit_article"><a href="/st_admin">Quản lý Bài Viết</a></li>
				<li class="icn_video"><a href="/st_video">Quản lý Video</a></li>
				<li class="icn_photo"><a href="#">Nhận bài viết qua Email</a></li>
				<li class="icn_settings"><a href="#">Thống kê</a></li>
			</ul>
		</aside><!-- end of sidebar -->
		
		<section id="main" class="column">
			<?php if(isset($page_name)){require $page_name . ".php";} ?>
		</section>
	</body>
</html>